<script setup name="News">
import { defineModel } from 'vue';

let steps = defineModel(0)

const updateRoad=()=>{
    steps.value +=10;
}



</script>

<template>
    <div>
        <button @click="updateRoad">行走10步</button>
    </div>

</template>

<style scoped>
    
</style>